package com.itheima.jianbing;

public class Test {

    public static void main(String[] args) throws InterruptedException {

        Cooker cooker = new Cooker();
        Thread t1 = new Thread(cooker);
        Foodie foodie = new Foodie();
        Thread t2 = new Thread(foodie);
        t1.start();

        t2.start();



    }
}
